package com.ruoyi.service;

import com.ruoyi.utils.SimpleResult;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

public interface BaiduService {
    Map<String, Object> getToken(String grantType, String clientId, String clientSecret);

    Map<String, Object> getToken();

    Map<String, Object> speech(MultipartFile file);

    SimpleResult aiRequest(String requestMessage);

//    无流式
    SimpleResult aiRequestDevices(String requestMessage);
}
